import logging

import pymysql

from common_ihrm.header import get_header
from mysql import db_ihrm
# db = pymysql.connect(host="127.0.0.1", port=3306, user="root",
#                                  password="root", database="ihrm", charset="utf8")
# cursor =db.cursor()
# a = ()
db_ihrm.connet()
db_ihrm.excute_sql("delete from bs_user where mobile = '1222hvb55707';")
db_ihrm.close_db()
# aa=cursor.fetchall()
# print(aa)